package com.dxq.oa.entity;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class Role {

    private Integer roleid;
    private String rolecode;
    private String rolename;
    private String remark;

    //一对多
    private List<Permission> permissions =new ArrayList<>(0);
    private List<Menu> navigationBars = new ArrayList<Menu>(0);
    private List<User> users = new ArrayList<User>(0);

}
